﻿//============================================================
// Producnt name:		CodeSmith HZ-ACCP
// Version: 			2.0
// Coded by:			yan.guo (yan.guo@jb-aptech.com.cn)
// Auto generated at: 	2009-9-13 14:51:56
//============================================================

using System;
using System.Collections.Generic;
using System.Text;

namespace MyOA.Model
{
	[Serializable()]
	public class UserInfo
	{
  		#region ==== Variable ====
		private int userId;
		private RoleInfo role;
		private DepartInfo depart;
		private UserState userState;
		private string loginId=String.Empty;
		private string userName=String.Empty;
		private string password=String.Empty;
		private int gender=0;
		#endregion

		public UserInfo() 
        {
            role = new RoleInfo();
            depart = new DepartInfo();
            userState = new UserState();
        }

	  	#region ==== Property ====
		public int UserId
		{
			get { return this.userId; }
			set { this.userId = value; }
		}
		public RoleInfo Role
		{
			get { return this.role; }
			set { this.role = value; }
		}
		
		public DepartInfo Depart
		{
			get { return this.depart; }
			set { this.depart = value; }
		}
		
		public UserState UserState
		{
			get { return this.userState; }
			set { this.userState = value; }
		}
		
		public string LoginId
		{
			get { return this.loginId; }
			set { this.loginId = value; }
		}	
		public string UserName
		{
			get { return this.userName; }
			set { this.userName = value; }
		}	
		public string Password
		{
			get { return this.password; }
			set { this.password = value; }
		}	
		public int Gender
		{
			get { return this.gender; }
			set { this.gender = value; }
		}	
		#endregion
	}
}
